Rootless docker cannot start containers bound to different IPs but the same port #47812
Labels
area/networking
area/rootless
Rootless mode
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
status/0-triage
Description
This is a re-submission of the bug submitted here: docker/compose#11169.
The summary is that on a host with multiple IP addresses, I cannot assign two containers to the same port, even if I use separate IPs.
I'd like to be able to have separate infrastructure on a single host. In this case, I have a LAN interface and a DMZ interface, and I would like to be able to have a separate reverse proxy container for each.
Reproduce
docker run -p 192.168.1.9:80:80 nginx
docker run -p 192.168.255.2:80:80 nginx
docker: Error response from daemon: driver failed programming external connectivity on endpoint: Timed out proxy starting the userland proxy.
Expected behavior
Docker should bind the container to the given port on the given interface.
docker version
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: